<template>
	<div class="cate">
		<h2>{{title}}分类</h2>
		<ul>
			<li v-for="item in listArr">{{item}}</li>
		</ul>
	</div>
</template>

<script>
	export default {
		name:'Category',
		props:['listArr','title']
	}
</script>

<style scoped>
	.cate{
		width: 200px;
		height: 300px;
		background-color: skyblue;
		padding-top: 10px;
	}
	h2{
		background-color: orange;
		text-align: center;
	}
</style>